import React from 'react'
import {BrowserRouter} from 'react-router-dom'
import routerConfig from './routerConfig'
import RouterView from './routerView'

function Router(){
     return <BrowserRouter>
        <RouterView routes={routerConfig}></RouterView>
     </BrowserRouter>
}

export default Router